home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
X11
/
makepsres.z
/
makepsres
Wrap
Text File
|
1998-10-20
|
11KB
|
265 lines
MMMMAAAAKKKKEEEEPPPPSSSSRRRREEEESSSS((((1111)))) AAAAddddoooobbbbeeee SSSSyyyysssstttteeeemmmmssss ((((11113333 MMMMaaaayyyy 1111999999993333)))) MMMMAAAAKKKKEEEEPPPPSSSSRRRREEEESSSS((((1111))))
NNNNAAAAMMMMEEEE
makepsres - Build PostScript resource database file.
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
mmmmaaaakkkkeeeeppppssssrrrreeeessss [ _o_p_t_i_o_n_s ] _d_i_r_e_c_t_o_r_y ...
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
mmmmaaaakkkkeeeeppppssssrrrreeeessss creates PostScript language resource database
files. Resource database files can be used to specify the
location of resources that are used by the font selection
panel and other Adobe software. For a complete description
of the resource location facilities in the Display
PostScript system, see Appendix A and Appendix B of "Display
PostScript Toolkit for X" in _P_r_o_g_r_a_m_m_i_n_g _t_h_e _D_i_s_p_l_a_y
_P_o_s_t_S_c_r_i_p_t _S_y_s_t_e_m _w_i_t_h _X.
mmmmaaaakkkkeeeeppppssssrrrreeeessss creates a resource database file named _P_S_r_e_s._u_p_r
that contains all the resources in all the _d_i_r_e_c_t_o_r_y path
names specified on the command line.
If the list of directories contains ---- ,,,, mmmmaaaakkkkeeeeppppssssrrrreeeessss reads
from _s_t_d_i_n and expects a list of directories separated by
space, tab, or newline.
If the list of directories is empty, it is taken to be the
current directory.
If all specified directories have a common initial prefix,
mmmmaaaakkkkeeeeppppssssrrrreeeessss extracts it as a directory prefix in the new
resource database file.
mmmmaaaakkkkeeeeppppssssrrrreeeessss normally acts recursively; it looks for resource
files in subdirectories of any specified directory. This
behavior can be overridden with the command line option ----nnnnrrrr....
mmmmaaaakkkkeeeeppppssssrrrreeeessss uses existing resource database files to assist in
identifying files. By default, mmmmaaaakkkkeeeeppppssssrrrreeeessss creates a new
resource database file containing all of the following that
apply:
Resource files found in the directories on the command
line.
Resource files pointed to by the resource database files
in the directories on the command line.
Resource entries found in the input resource database
files. These entries are copied if the files they specify
still exist and are located in directories not specified
on the command line.
Page 1 (printed 4/30/98)
MMMMAAAAKKKKEEEEPPPPSSSSRRRREEEESSSS((((1111)))) AAAAddddoooobbbbeeee SSSSyyyysssstttteeeemmmmssss ((((11113333 MMMMaaaayyyy 1111999999993333)))) MMMMAAAAKKKKEEEEPPPPSSSSRRRREEEESSSS((((1111))))
If you run mmmmaaaakkkkeeeeppppssssrrrreeeessss in discard mode (with the ----dddd option),
it does not copy resource entries from the input resource
database files. In that case, the output file consists only
of entries from the directories on the command line. The
input resource database files are only used to assist in
identifying files.
If you run mmmmaaaakkkkeeeeppppssssrrrreeeessss in keep mode (with the ----kkkk option), it
includes in the output file all resource entries in the
input resource database files, even entries for files that
no longer exist or are located in directories specified on
the command line.
mmmmaaaakkkkeeeeppppssssrrrreeeessss uses various heuristics to identify files. A file
that is of a private resource type or that does not conform
to the standard format for a resource file must be specified
in one of the following ways:
By running mmmmaaaakkkkeeeeppppssssrrrreeeessss in interactive mode
By preloading the file into a resource database file used
for input
By beginning the file with the following line:
%!PS-Adobe-3.0 Resource-<resource-type>
OOOOPPPPTTTTIIIIOOOONNNNSSSS
----oooo _f_i_l_e_n_a_m_e
Writes the output to the specified filename. The
construction "----oooo ----" writes to stdout. If the ----oooo option
is not specified, mmmmaaaakkkkeeeeppppssssrrrreeeessss creates a _P_S_r_e_s._u_p_r file in
the current directory and writes the output to that
file.
----ffff _f_i_l_e_n_a_m_e
Uses information from the specified file to assist in
resource typing. The file must be in resource database
file format. Multiple ----ffff options may be specified. The
construction "----ffff ----" uses _s_t_d_i_n as an input file and may
not be used if "----" is specified as a directory on the
command line.
----ddddiiiirrrr _d_i_r_n_a_m_e
Specifies that _d_i_r_n_a_m_e is a directory. Needed only in
rare cases when _d_i_r_n_a_m_e is the same as a command-line
option such as ----nnnnbbbb....
----dddd Specifies discard mode. The resulting output file
consists solely of entries from the directories on the
command line.
Page 2 (printed 4/30/98)
MMMMAAAAKKKKEEEEPPPPSSSSRRRREEEESSSS((((1111)))) AAAAddddoooobbbbeeee SSSSyyyysssstttteeeemmmmssss ((((11113333 MMMMaaaayyyy 1111999999993333)))) MMMMAAAAKKKKEEEEPPPPSSSSRRRREEEESSSS((((1111))))
----eeee Marks the resulting _P_S_r_e_s._u_p_r file as exclusive. This
option makes the resource location library run more
quickly since it does not have to look for other
resource database files. It becomes necessary, however,
to run mmmmaaaakkkkeeeeppppssssrrrreeeessss whenever new resources are added to
the directory, even if the resources come with their
own resource database file.
----iiii Specifies interactive mode. In interactive mode, you
will be queried for the resource type of any
encountered file that mmmmaaaakkkkeeeeppppssssrrrreeeessss cannot identify. If ----iiii
is not specified, mmmmaaaakkkkeeeeppppssssrrrreeeessss assumes an unidentifiable
file is not a resource file.
----kkkk Specifies keep mode.
----nnnnbbbb If the output file already exists, do not back it up.
----nnnnrrrr Specifies nonrecursive mode. mmmmaaaakkkkeeeeppppssssrrrreeeessss normally acts
recursively: it looks for resource files in
subdirectories of any specified directory. If ----nnnnrrrr is
used, mmmmaaaakkkkeeeeppppssssrrrreeeessss does not look in subdirectories for
resource files.
----pppp Specifies no directory prefix. If ----pppp is used,
mmmmaaaakkkkeeeeppppssssrrrreeeessss does not try to find a common directory
prefix among the specified directories.
----qqqq Quiet mode: ignores unidentifiable files instead of
warning about them.
----ssss Specifies strict mode. If ----ssss is used, mmmmaaaakkkkeeeeppppssssrrrreeeessss
terminates with an error if it encounters a file it
cannot identify.
EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
mmmmaaaakkkkeeeeppppssssrrrreeeessss ....
Creates a resource database file that contains all the
resources in the current directory.
mmmmaaaakkkkeeeeppppssssrrrreeeessss ----iiii ----oooo llllooooccccaaaallll....uuuupppprrrr ////uuuussssrrrr////llllooooccccaaaallll////lllliiiibbbb////ppppssss////ffffoooonnnnttttssss
Runs mmmmaaaakkkkeeeeppppssssrrrreeeessss in interactive mode and creates a
resource database file named _l_o_c_a_l._u_p_r, which contains
all the resources in the directory
/_u_s_r/_l_o_c_a_l/_l_i_b/_p_s/_f_o_n_t_s.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
_P_r_o_g_r_a_m_m_i_n_g _t_h_e _D_i_s_p_l_a_y _P_o_s_t_S_c_r_i_p_t _S_y_s_t_e_m _w_i_t_h _X (Addison-
Wesley Publishing Company, Inc., 1993).
Page 3 (printed 4/30/98)
MMMMAAAAKKKKEEEEPPPPSSSSRRRREEEESSSS((((1111)))) AAAAddddoooobbbbeeee SSSSyyyysssstttteeeemmmmssss ((((11113333 MMMMaaaayyyy 1111999999993333)))) MMMMAAAAKKKKEEEEPPPPSSSSRRRREEEESSSS((((1111))))
AAAAUUUUTTTTHHHHOOOORRRR
Adobe Systems Incorporated
NNNNOOOOTTTTEEEESSSS
PostScript and Display PostScript are trademarks of Adobe
Systems Incorporated which may be registered in certain
jurisdictions.
Copyright (c) 1989-1994 Adobe Systems Incorporated. All
rights reserved.
Page 4 (printed 4/30/98)